@import url("https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");

/*---------------------------------------------------*/
/*Declaração de Variáveis*/
/*---------------------------------------------------*/

:root {
    --primary: rgba(7, 110, 41, 1);
    --secundary: rgba(35, 67, 99, 1);
    --tertiary: rgba(51, 102, 153, 1);
    --primary-strong: rgba(5, 96, 35, 1);
    --green-color: rgba(0, 153, 51, 1);
    --yellow-color: rgba(250, 220, 8, 1);
}

/*---------------------------------------------------*/
/*Declaração de ID's*/
/*---------------------------------------------------*/
#nav-bar-tools {
    background-color: rgba(7, 110, 41, 1);
    color: white !important;
    height: auto !important;
}

#nav-bar-tools input {
    height: 30px !important;
}

#navbar-ul a {
    font-size: 16px;
    transition: all 0.3s;
}

#navbar-ul a:hover {
    font-size: 17px;
}

#last-news-title {
    font-size: 2.5rem !important;
    transition: all 0.3s;
}

#last-news-title:hover {
    font-size: 2.6rem !important;
}

#standout-section {
    padding-top: 15px;
    padding-bottom: 20px;
}

#standout-section ul {
    margin-top: 10px;
    margin-bottom: 10px;
}

#standout-section a {
    width: 120px !important;
    height: 100px !important;
    text-align: center;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

#standout-ul a:hover {
    font-size: large !important;
}

@media (max-width: 425px) {
    #navbar-ul li>a {
        font-size: 12px !important;
    }

    #last-news-title {
        font-size: 1rem !important;
        font-weight: bold;
    }

    #last-news-title:hover {
        font-size: 1.1rem !important;
    }

    #last-news-subtitle {
        font-size: 8px !important;
    }
}

#parliamentary-section img {
    width: 230px !important;
    height: 300px !important;
}

/* #all-news-button a>span* {
    font-size: 1vw !important;
} */

/*---------------------------------------------------*/
/*Declaração de Backgrounds*/
/*---------------------------------------------------*/

.btn:hover {
    color: #ccc !important;
}

.span {
    color: #fff !important;
}

.background-color-primary {
    background-color: var(--primary) !important;
}

.background-color-primary-strong {
    background-color: var(--primary-strong) !important;
}

.background-secondary-color {
    background-color: var(--secundary) !important;
}

.background-linear-blue-90deg {
    background: linear-gradient(90deg,
            rgba(29, 56, 83, 0.9) 0%,
            rgba(51, 102, 153, 0.9) 80%);
}

.background-color-yellow {
    background-color: var(--yellow-color) !important;
}

.background-linear-blue {
    background: linear-gradient(90deg,
            rgba(51, 102, 153, 1) 0%,
            rgba(29, 56, 83, 1) 80%);
}

.background-access-info-title {
    background: rgb(208, 232, 255);
    background: linear-gradient(180deg,
            rgba(208, 232, 255, 1) 30%,
            rgba(255, 255, 255, 1) 100%);
}

.background-access-info-body {
    background: rgba(235, 235, 235, 1);
}

.background-white {
    background: white;
}

.body-background {
    background: rgb(208, 232, 255);
    background: linear-gradient(180deg,
            rgba(255, 255, 255, 1) 0%,
            rgba(7, 110, 41, 0.2) 50%,
            rgba(7, 110, 41, 0.6) 100%) no-repeat;
}

/*---------------------------------------------------*/
/*Definição das tag's genéricas*/
/*---------------------------------------------------*/
img {
    border-radius: 15px !important;
}

a {
    text-decoration: none !important;
}

ul {
    padding-left: 0px !important;
    margin-bottom: 0px !important;
}

main>div {
    min-height: 63vh;
}

body {
    font-family: Oswald !important;
    width: 1080px !important;
    min-height: 100vh !important;
}

@media (max-width: 1080px) {
    body {
        width: 100vw !important;
    }
}

@media (max-width: 500px) {
    footer ul {
        flex-direction: column !important;
        align-content: center !important;
    }
}

/*---------------------------------------------------*/
/*Declaração de Classes*/
/*---------------------------------------------------*/
.text-white {
    color: white !important;
}

.text-color-primary {
    color: var(--primary) !important;
}

.text-yellow-color {
    color: var(--yellow-color) !important;
}

/*---------------------------------------------------*/
/*Declaração da Acessibilidade*/
/*---------------------------------------------------*/

.acessibilidade {
    padding: 5px;
}

.acessibilidade button {
    border: none;
    border-radius: 5px;
    margin-left: 5px;
    margin-right: 5px;
    cursor: pointer;
    color: white;
    background-color: transparent;
}

.contraste-alto,
.contraste-alto * {
    background: black !important;
    color: white !important;
    border-color: white !important;
}

.contraste-alto a,
.contraste-alto button {
    color: cyan !important;
}

/*---------------------------------------------------*/
/*Declaração da Todas Noticias*/
/*---------------------------------------------------*/

.page-noticias {
    width: 100%;
    color: var(--cor-primaria);
}

.page-noticias ul {
    list-style: none;
}

.page-noticias ul li a {
    color: var(--cor-primaria);
}

.page-noticias ul li a:hover {
    color: var(--cor-secundaria);
    text-decoration: underline !important;
}

.page-noticias ul li a h6 {
    font-size: 1em;
}

/*---------------------------------------------------*/
/*Declaração da Noticia (Single)*/
/*---------------------------------------------------*/

.page-notica {
    width: 100%;
}

.img-noticia {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.img-noticia img {
    width: 100%;
}

.foto-noticia {
    width: 100%;
    max-width: 500px;
    margin-bottom: 10px;
}


/* --------------------------------------------------
	Gallery
-------------------------------------------------- */

#gallery-section {
    display: flex;
    flex-direction: column;
    width: 90% !important;
    justify-self: center;
}

#gallery-section ul {
    padding-left: 0px;
}

#gallery-list-container {
    border: 2px solid var(--primary);
    border-radius: 10px;
    background-color: rgba(204, 204, 204, 0.3);
    width: 100%;
}

#gallery-list {
    display: flex;
    flex-direction: row;
    overflow-x: scroll;
    margin-left: 10px;
    margin-right: 10px;
}

#gallery-list li {
    display: flex;
    margin-right: 10px;
    justify-content: center;
}

#gallery-list img {
    object-position: center;
    object-fit: cover;
    overflow-x: hidden;
    width: 150px;
    height: 150px;
    transition: width 0.5s;
}

#gallery-list img:hover {
    width: 200px;
}

#gallery-selected-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: auto;
    max-height: 700px;
    width: 100%;
}

#gallery-selected-container span {
    text-align: center;
    color: rgba(54, 61, 110, 1);
    font-weight: 500;
    font-size: 1.7rem;
}

#gallery-selected-list {
    overflow-y: scroll;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    margin-top: 15px;
}

#gallery-selected-list li {
    width: 242px !important;
    height: 208px !important;
    margin: 1px;
}

#gallery-selected-list img {
    height: 208px !important;
    width: 242px !important;
    object-position: center;
    object-fit: cover;
}

.modal-body {
    display: flex;
    justify-content: center;
}

#modal-image {
    margin-top: 15px;
    margin-bottom: 15px;
    object-position: center;
    object-fit: cover;
}

.modal-backdrop {
    width: 100% !important;
    height: 100% !important;
}

.modal-content {
    margin-top: 70%;
}

.description-album {
    color: white;
    width: 100%;
    font-size: 0.9rem;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.5);
}

@media (max-width: 430px) {
    #gallery-list-title {
        font-size: 1rem;
    }

    #gallery-list-title i {
        font-size: xx-large;
    }

    #gallery-list li {
        height: 100px;
        width: 100px;
    }

    .description-album {
        display: none;
    }

    #gallery-list img {
        height: 100px;
        object-position: center;
        object-fit: cover;
    }

    #gallery-selected-container span {
        font-size: 1rem;
    }

    #gallery-selected-list li {
        width: 100px !important;
        height: 100px !important;
        margin: 5px;
    }

    #gallery-selected-list img {
        width: 100px !important;
        height: 100px !important;
        object-position: center;
        object-fit: cover;
        border: 1px hidden;
    }
}